import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '../../assets/font/iconfont.css'
import { Field ,Picker,Popup,Button} from 'mint-ui';
import 'mint-ui/lib/style.css'
import axios from 'axios';


window.onload=window.onresize=function () {
    document.documentElement.style.fontSize=20*document.documentElement.clientWidth/375+'px';
};

axios.defaults.headers['Content-Type']='application/json ';
Vue.prototype.axios=axios;
Vue.component(Field.name, Field);
Vue.component(Picker.name, Picker);
Vue.component(Popup.name, Popup);
Vue.component(Button.name, Button);
Vue.config.productionTip = false

new Vue({
    router,
    store,
  render: h => h(App)
}).$mount('#app')
